Create(Device,Byte[],StreamOutputElement[],Int32[],Int32,ClassLinkage) Method
In This Topic
Initializes a new instance of the
GeometryShader class.
Syntax
'Declaration
Public Overloads Shared Function Create( _
ByVal As Device, _
ByVal () As System.Byte, _
ByVal () As StreamOutputElement, _
ByVal () As System.Integer, _
ByVal As System.Integer, _
Optional ByVal As ClassLinkage _
) As GeometryShader
public static GeometryShader Create(
Device ,
System.byte[] ,
StreamOutputElement[] ,
System.int[] ,
System.int ,
ClassLinkage
)
Parameters
- device
- The device used to create the shader.
- shaderBytecode
- The compiled shader bytecode.
- elements
- An array of StreamOutputElement instances describing the layout of the output buffers.
- bufferedStrides
- An array of buffer strides; each stride is the size of an element for that buffer.
- rasterizedStream
- The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
- linkage
- A dynamic class linkage interface.
See Also